// 输入框验证，input组件
export interface InputValidate {
  message: string
  validator?: any
  required?: boolean
}

// media类型
export type MediaType = 'movie' | 'tv' | 'show' | 'cartoon'
// export type MediaType = 'movie' | 'tv' | 'show' | 'cartoon' | 'other' | 'guess'

// 有剧情列表的 media类型
export type HasSeriesMediaType = 'movie' | 'tv' | 'show' | 'cartoon'

// 卡片接口
export interface Media {
  id: string
  videoSiteId: string
  videoVerticalUrl: string
  videoName: string
  playCountTotal: string
  name: string
  videoSiteType: number
  mainActor: string
}

// 剧集列表
export interface SeriesList {
  isCollection: 0 | 1
  type: string
  tab: number | undefined
  seriesNum: number
  videoSeriesId: string
  videoSiteId: string
  videoUrl: string
}
